Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riscv_pmp.c: Check that size is power of two for NAPOT #259

Merged
merged 2 commits into from
May 27, 2024
Merged

Conversation

jpaali
Copy link

@jpaali jpaali commented May 23, 2024

The size must be power-of-two according to the the PMP spec.

@jpaali jpaali requested review from pussuw and tkaratapanis May 23, 2024 07:54
@pussuw
Copy link

pussuw commented May 23, 2024

LGTM!

Please upstream this first and then cherry pick to downstream

@jpaali jpaali force-pushed the pmp_size_check branch 2 times, most recently from 9bee4db to 3bd0fed Compare May 24, 2024 06:17
jpaali added 2 commits May 27, 2024 08:11
The size must be power-of-two according to the the PMP spec.

Signed-off-by: Jani Paalijarvi <[email protected]>
The size must be power-of-two for NAPOT according to the the PMP spec.

Signed-off-by: Jani Paalijarvi <[email protected]>
@jpaali
Copy link
Author

jpaali commented May 27, 2024

cherry-picked commits from upstream/master.

@jpaali jpaali marked this pull request as ready for review May 27, 2024 05:47
@jpaali jpaali merged commit d493bcd into master May 27, 2024
11 checks passed
@jpaali jpaali deleted the pmp_size_check branch September 2, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants